/*
 *  Copyright (C) 2010 Matthias Buch-Kromann <mbk.isv@cbs.dk>
 * 
 *  This file is part of the MatrixParser package.
 *  
 *  The MatrixParser program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.osdtsystem.matrixparser.featureextraction;

import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import org.osdtsystem.matrixparser.data.GraphIterator;
import org.osdtsystem.matrixparser.features.FeatureVector;
import org.osdtsystem.matrixparser.parsers.output.DependencyTree;

/**
 *
 * @author Matthias Buch-Kromann <mbk.isv@cbs.dk>
 */
public interface FeatureExtractor {
    void extract(FeatureVector fv, DependencyTree tree, int node);
    String geneUse();

    // Gene names
    static final List<String> geneNames = new ArrayList<String>();
    
    // Dead genes are switched off
    static final BitSet deadGenes = new BitSet();
    
    // Multi-genes are genes that effectively turn on/switch off groups of genes. 
    // We mark this semantically.
    static final BitSet multiGenes = new BitSet();

    // The genes which have actually been consulted in the processing (we may have
    // reserved space for genes that has gone unused).
    static final BitSet usedGenes = new BitSet();
}
